FKCart\Includes\Ajax B

Total Complexity 88
Dependencies 5
Dependents 2
Total lines 485
Lines of code 298
Logical lines of code 200
Comment lines 103
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
add_cart_item()
A
44 16 39
update_variable_item_attributes()
A
45 15 39
update_cart_item()
A
44 13 42
item_quick_view()
S
49 7 29
get_public_endpoints()
S
59 6 13
apply_coupon()
S
53 5 21
remove_coupon()
S
55 5 19
remove_cart_item()
S
55 5 18
fragments()
S
56 2 18
verify_nonce()
S
64 3 9
error_response()
S
68 2 7
handle_public_ajax()
S
69 2 6
send_success()
S
69 2 7
get_available_public_endpoints()
S
62 1 12
set_cookie()
S
69 1 6
__construct()
S
75 1 4
get_fragments()
S
71 1 6
set_fkcart_cookies()
S
82 1 3